#pragma once

class CDataClearDlg :
	public WindowImplBase
{
public:
	CDataClearDlg();
	virtual ~CDataClearDlg();

	LPCTSTR GetWindowClassName() const { return _T("CDataClearDlg"); }
	virtual CDuiString GetSkinFile() { return _T("DataClear.xml"); }
	virtual CDuiString GetSkinFolder() { return  _T("skin"); }
	virtual LRESULT OnNcActivate(UINT /*uMsg*/, WPARAM wParam, LPARAM /*lParam*/, BOOL& bHandled);
	virtual void InitWindow();
	SYSTEMTIME& GetClearTime();

	DUI_DECLARE_MESSAGE_MAP()
	void OnOKBtnClick(TNotifyUI& msg);
	void OnCancelBtnClick(TNotifyUI& msg);

private:
	SYSTEMTIME m_tmClear;
	CLabelUI*		m_pLabTitle = nullptr;
};

